import { useLocaleProps } from '@/hooks';
import { buildProp, definePropType, mutable } from '@/utils/props';
import type { ButtonConfigContext } from '@/components/button';

export const configProviderProps = {
  ...useLocaleProps,
  // Add more configs
  button: buildProp({
    type: definePropType<ButtonConfigContext>(Object),
    default: () => {
      return mutable({
        autoInsertSpace: true,
      } as const);
    },
  }),
};

